﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ymatou.ServiceCenter
{
    /// <summary>
    /// 服务依赖关系项
    /// </summary>
    public class ServiceDependencyRequest
    {
        /// <summary>
        /// 服务消费者的应用编号
        /// </summary>
        public string ConsumerAppId { get; set; }

        /// <summary>
        /// 服务提供者的应用编号
        /// </summary>
        public string ProviderAppId { get; set; }

        /// <summary>
        /// 接口名称
        /// </summary>
        public string ApiName { get; set; }

        /// <summary>
        /// 接口地址
        /// </summary>
        public string ApiPath { get; set; }

        /// <summary>
        /// 请求执行的耗时毫秒值
        /// </summary>
        public long RequestElapsedMilliseconds { get; set; }

        /// <summary>
        /// 本次请求是否失败
        /// </summary>
        public bool IsFail { get; set; }
    }
}
